//
//  ZNMessage.h
//  ZNChatDemo
//
//  Created by zhengn on 16/3/18.
//  Copyright © 2016年 Sniper_Personal. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    ZNMessageSenderTypeFromMe,
    ZNMessageSenderTypeFromYou
} ZNMessageSenderType;

typedef enum {
    ZNMessageTypeText,
    ZNMessageTypeVoice,
    ZNMessageTypeImage
} ZNMessageType;

@interface ZNMessage : NSObject

/** 头像 */
@property (nonatomic, copy)NSString *headImgUrl;
/** 信息内容 */
@property (nonatomic, copy)NSString *messageContent;
/** 发送时间 */
@property (nonatomic, copy)NSString *sendTime;
/** 发送者 */
@property (nonatomic, assign)ZNMessageSenderType fromWho;
/** 消息类型 暂时没用上 */
@property (nonatomic, assign)ZNMessageType messageType;

//----
/** cell高度 */
@property (nonatomic, assign)CGFloat cellHeight;

@end
